<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>item</title>
    <link rel="StyleSheet" href="/css/bootstrap.css" type="text/css" media="screen"/>
</head>
<body>
<div th:replace="Admin/choose">

</div>
<div id="Content">
    <div id="BackLink">
        <a href="/admin/main">Return to Main</a>
    </div>

    <div id="Catalog">

        <table>
            <tr>

                <th colspan="2">item</th>

            </tr>

            <tr>
                <th colspan="2" th:text="${productId}">product</th>
                <td><a class="Button" th:href="@{/admin/GoToAddItem(productId=${productId})}">add</a></td>
            </tr>
            <tr th:each="item:${items}">
                <td><a th:href="@{()}" th:text="${item.getItemId()}">num</a><a class="Button" th:href="@{/admin/deleteItem(itemId=${item.itemId})}">Delete</a></td>
            </tr>

        </table>

    </div>


</div>

</body>
</html>